package com.example.chatroom.common.errorcode;

import lombok.Data;

@Data
public class ErrorCode {
    /**
     * 错误码
     */
    private Integer errorCode;
    /**
     * 信息
     */
    private String msg;

    public ErrorCode(Integer errorCode, String msg) {
        this.errorCode = errorCode;
        this.msg = msg;
    }
}
